package com.ruoyi.qiushi.domain.followup;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 随访记录对象 qiushi_follow_record
 *
 * @author ruoyi
 * @date 2024-01-20
 */
public class QiushiFollowRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long familyId;

    /**
     * 类型  1.预警随访  2报告随访
     */
    @Excel(name = "类型  1.预警随访  2报告随访")
    private String type;

    /**
     * 预警id   报告id
     */
    @Excel(name = "预警id   报告id")
    private Long joinId;

    /**
     * 问卷调查关联qiushi_form.id
     */
    @Excel(name = "问卷调查关联qiushi_form.id")
    private Long formId;

    /**
     * 0正常 1删除
     */
    private String delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setFamilyId(Long familyId) {
        this.familyId = familyId;
    }

    public Long getFamilyId() {
        return familyId;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setJoinId(Long joinId) {
        this.joinId = joinId;
    }

    public Long getJoinId() {
        return joinId;
    }

    public void setFormId(Long formId) {
        this.formId = formId;
    }

    public Long getFormId() {
        return formId;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("familyId", getFamilyId())
                .append("type", getType())
                .append("joinId", getJoinId())
                .append("formId", getFormId())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
